package com.example.seakdreamandroid;

import androidx.fragment.app.Fragment;
import android.content.Intent;


//张子辉
public class MyFragment extends Fragment {
    private static final int LAYOUT_ID = R.layout.custom_layout;
    public MyFragment(){
        super(LAYOUT_ID);
    }

    @Override
    public void onResume() {
        super.onResume();
        new Thread(){
            @Override
            public void run() {
                try {
                    Thread.sleep(3000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
//                Intent intent = new Intent(getContext(),LoginActivity.class);
//                startActivity(intent);
            }
        }.start();
    }
}
